HAL RAMECC macros migration ¶
This section provides information about the HAL RAMECC macros migration.
Note
RAMECC macros have been removed from the HAL RAMECC driver and converted into static inline APIs. Related concept: Removal of hardware-related macros in HAL2
HAL RAMECC pending flags ¶
|
HAL1 |
HAL2 |
|---|---|
#define __HAL_RAMECC_CLEAR_FLAG
|
|
HAL RAMECC disable global interrupt ¶
|
HAL1 |
HAL2 |
|---|---|
#define __HAL_RAMECC_DISABLE_GLOBAL_IT
|
|
HAL RAMECC enable global IT ¶
|
HAL1 |
HAL2 |
|---|---|
#define __HAL_RAMECC_ENABLE_GLOBAL_IT
|
|
HAL RAMECC disable IT ¶
|
HAL1 |
HAL2 |
|---|---|
#define __HAL_RAMECC_DISABLE_IT
|
The global controller interrupt is handled automatically within the function
|
HAL RAMECC enable IT ¶
|
HAL1 |
HAL2 |
|---|---|
#define __HAL_RAMECC_ENABLE_IT
|
The global controller interrupt is handled automatically within the function
|
HAL RAMECC disable monitor IT ¶
|
HAL1 |
HAL2 |
|---|---|
#define __HAL_RAMECC_DISABLE_MONITOR_IT
|
|
HAL RAMECC enable monitor IT ¶
|
HAL1 |
HAL2 |
|---|---|
#define __HAL_RAMECC_ENABLE_MONITOR_IT
|
|
HAL RAMECC get flag ¶
|
HAL1 |
HAL2 |
|---|---|
#define __HAL_RAMECC_GET_FLAG
|
|
HAL RAMECC get global IT source ¶
|
HAL1 |
HAL2 |
|---|---|
#define __HAL_RAMECC_GET_GLOBAL_IT_SOURCE
|
|
HAL RAMECC get IT source ¶
|
HAL1 |
HAL2 |
|---|---|
#define __HAL_RAMECC_GET_IT_SOURCE
|
|
HAL RAMECC get monitor IT source ¶
|
HAL1 |
HAL2 |
|---|---|
#define __HAL_RAMECC_GET_MONITOR_IT_SOURCE
|
|
HAL RAMECC reset handle state ¶
|
HAL1 |
HAL2 |
|---|---|
#define __HAL_RAMECC_RESET_HANDLE_STATE
|
The handle in HAL2 has been removed. The RAMECC APIs use direct access to hardware instances. |